using System;
using System.Data;
using System.Configuration;
using System.Collections;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Web.UI.HtmlControls;

namespace MTRC.ODMS.Web.SOM.Popup
{
    /// <summary>
    /// author:Nearly
    /// </summary>
    public partial class PopupActivitiesListingStationStatus : BasePage_SOM
    {
        #region  Page Load and UnLoad
        protected void Page_Load(object sender, EventArgs e)
        {

            if (!IsPostBack)
            {
                this.lblDataTimeValue.Text = this.FormatDateTime(MTRC.ODMS.DAL.COM.Util.GetCurrentSystemTime());
                SetLanguage();
            }
        }

        private void SetLanguage()
        {
            this.lblStation.Text = this.GetLabel("SOM_Station",true);
            this.lblDataTime.Text = this.GetLabel("SOM_DateTime", true);
            this.lblTotalWorkGoup.Text = this.GetLabel("SOM_TotalWorkGoup", true);
            this.lblTotalWorker.Text = this.GetLabel("SOM_TotalWorker", true);
            this.btnColse.Value = this.GetLabel("COM_Close");
            this.btnPrint.Value = this.GetLabel("COM_Print");
        }

        private void ChangeLanguage_Click(object sender, System.EventArgs e)
        {
            SetLanguage();
        }

        #endregion

        #region Data Grid Bind

        private void btnPrint_ServerClick(object sender, EventArgs e)
        {
            
        }
       
        #endregion

        #region Web Form Designer generated code

        override protected void OnInit(EventArgs e)
        {
            InitializeComponent();
            base.OnInit(e);
        }

        private void InitializeComponent()
        {
            this.ChangeLanguage += new MTRC.ODMS.Web.BasePage.ChangeLanguageEventHandler(this.ChangeLanguage_Click);
            this.btnPrint.ServerClick += new EventHandler(btnPrint_ServerClick);
        }

        #endregion
    }
}
